package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatLostApplyVO;
import java.util.List;

/**
 * <p>
 * 客户战败申请 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-07-11
 */
public interface SatLostApplyDubboService {

    SatLostApplyVO getById(String id) throws Exception;

    SatLostApplyVO getInfoById(String id) throws Exception;

    void saveOrUpdate(SatLostApplyVO satLostApplyVO,LoginInfo loginInfo) throws Exception;

    void removeById(String id);

    PageInfo<SatLostApplyVO> findPageByVO(SatLostApplyVO satLostApplyVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) throws Exception;

    void removeByListVo(List<SatLostApplyVO> satLostApplyVOList) throws Exception;

    List listByVo(SatLostApplyVO satLostApplyVO);

    void del(List<String> list,String createBy)throws Exception;

    String agree(List<String> list,String approveUser,String roleCode)throws Exception;

    String dispatch(List<String> list,String getUser,String approveUser,String roleCode)throws Exception;

    void mAgree(String applyId,String userCode,String roleCode)throws Exception;

    void mReject(String applyId,String userCode,String roleCode)throws Exception;

    Boolean lostStatus(String custoemrNo,String partnerCode)throws Exception;
}
